﻿@model Abhimanu.Mobile.Models.DiscussionBoard

@{
    ViewBag.Title = "New Discussion";
    Layout = "~/Views/Shared/M/_StudentLayout.cshtml";
}
<a data-role="button" class="no-Ajax"   style="float:left" href="@Url.Action("DiscussionBoard", "Student")">
    Back</a>
<br />
<br />
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <ul data-role="listview" data-inset="true" data-theme="d" data-divider-theme="a">
        <li data-role="list-divider">Start new discussion</li>

        <li>
            @Html.LabelFor(model => model.Title)
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </li>

        <li>
            @Html.LabelFor(model => model.Description)
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </li>

       
    </ul>
    <input type="submit" value="Start" data-theme="a" data-form="ui-btn-up-a" />
}

@section scripts
{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
